<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Referência da Template de Classe coordinate&lt; _ty, _realTy &gt;</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Gerado por Doxygen 1.6.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Busca');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Página&nbsp;Principal</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Arquivos</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Busca" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Lista&nbsp;de&nbsp;Componentes</span></a></li>
      <li><a href="hierarchy.html"><span>Hierarquia&nbsp;de&nbsp;Classes</span></a></li>
      <li><a href="functions.html"><span>Componentes&nbsp;Membros</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Referência da Template de Classe coordinate&lt; _ty, _realTy &gt;</h1><!-- doxytag: class="coordinate" -->
<p><code>#include &lt;<a class="el" href="coordinate_8h_source.html">coordinate.h</a>&gt;</code></p>

<p><a href="classcoordinate-members.html">Lista de todos os Membros.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Métodos Públicos</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#a1c690e9cfa9ce1bff5f1d64eaadd171f">coordinate</a> (const int &amp;indice=def::coord::indice, const int &amp;size=def::coord::size, const int &amp;precision=def::coord::precision, const _realTy &amp;max=def::coord::max, const _realTy &amp;min=def::coord::min)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Construtores/Destrutores.  <a href="#a1c690e9cfa9ce1bff5f1d64eaadd171f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#a52212c2723e16c95a8bc6acce3d6ef4e">coordinate</a> (const <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt; &amp;coo)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#a0e3450e6a6a1b4d577886fb68883d61c">GetSize</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#a8dca6b1375bc84a05f66d8694681acbe">SetSize</a> (const int &amp;new_size)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#a617500d91429987c40541973ae80662a">GetIndice</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const _ty &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#a67e7c384fd0641455b6629a7d6a9a344">GetValue</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">_ty &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#a46e04592c97e4d4f10aad3cbe90a7a6a">GetValue</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#ae66e44d1146ca8020809efe799a5a59c">SetValue</a> (const _ty &amp;new_value)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#a84cb188432f5139c669b8fd3fc0037f5">SetValue</a> (const _realTy &amp;new_value)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#a33a2b235424b34d89e42422c05adc276">SetValueMinValue</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#a552fb17fcf9a6d74c972020d21e99709">SetValueMaxValue</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#a92cf59fbfd315c208a5533b68ce3a3d0">GetPrecision</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#a46b633da2fed8687b33814122ad2ce1d">SetPrecision</a> (const int &amp;new_precision)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const _realTy &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#ad3a0bad89d7914ec157f773f445edeeb">GetMin</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const _realTy &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#af879abf859d6f890045dc6ad558ada96">GetMax</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const _ty &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#a06ceabdaa759122e5ea2436a68da951b">GetMaxCoded</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const _ty &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#ae5cae8ad8f7c0cd26d4ac1e565c2b72b">GetMinCoded</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#a74810fee94eae241e36552db0041b023">SetMin</a> (const _realTy &amp;new_min)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#a74e0f7eaf59e785c37b2d6f92e6f89a9">SetMax</a> (const _realTy &amp;new_max)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#a7a8c16521bfde82906c7a9013f7ef909">SetMinCoded</a> (const _ty &amp;new_minCoded)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#a8f1612243c59f409ca70878ea572188a">SetMaxCoded</a> (const _ty &amp;new_maxCoded)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#aa77bd1b22e652f61ced9ff8ef76fcbd9">IsConsistent</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">_realTy&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#aef173b7a32cc1cdb83c35f71a15f2f59">GetInterval</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#aa39b86f0c5c09bf06fd5b2b8655d4dc2">IsOutOfBound</a> (const _ty &amp;value) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#a5c05c89e4d5f69ea15ae724e2494bc6c">IsOutOfBound</a> (const _realTy &amp;value) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#a08bd46e2f1731b7042718f9c395b768d">GetPC</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#a6ee17f2dd5b36b7bc2fc7b404afb899c">GenerateCoordinate</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#ae7277b9648c716a4ff6f16c15c26433d">ToString</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">_realTy&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#a03f63a984d0b894f2056e3014eb570a3">Decode</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#aeb156220bc0921767319774d77d0eb72">operator=</a> (const <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt; &amp;coo)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#a063671d1577abcf23a36af1c996ac26a">operator==</a> (const <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt; &amp;coo) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#a8254401d37f6be169cafb28ba10635c3">operator!=</a> (const <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt; &amp;coo) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#a9c19583af7069c444bef4a712ed7fc0c">operator&gt;</a> (const <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt; &amp;coo) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#a052d4f0f28d416b72fe1b8ecccf80858">operator&lt;</a> (const <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt; &amp;coo) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#a2b75371880389112fd471f596429fd23">operator&gt;=</a> (const <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt; &amp;coo) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#a5c4a0543683ec8a6cbe751a075bd5187">operator&lt;=</a> (const <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt; &amp;coo) const </td></tr>
<tr><td colspan="2"><h2>Métodos Públicos Estáticos</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static _realTy&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#a18260f8c8efb3e0b9e5cf8181569aa98">Decode</a> (const <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt; &amp;coo)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static _ty&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcoordinate.html#adac8246ca9452ff459e46e2d1b981466">Code</a> (const <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt; &amp;coo, const _realTy &amp;value)</td></tr>
<tr><td colspan="2"><h2>Amigas</h2></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename T , typename U &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">std::ostream &amp;&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classcoordinate.html#ac6da0a94290e6364c27e4dff1a52f5e5">operator&lt;&lt;</a> (std::ostream &amp;os, const <a class="el" href="classcoordinate.html">coordinate</a>&lt; T, U &gt; &amp;coo)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename T , typename U &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">std::istream &amp;&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classcoordinate.html#aacb2e8f6ef327786248a961828b53fa5">operator&gt;&gt;</a> (std::istream &amp;is, <a class="el" href="classcoordinate.html">coordinate</a>&lt; T, U &gt; &amp;coo)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Descrição Detalhada</h2>
<h3>template&lt;typename _ty, typename _realTy&gt;<br/>
 class coordinate&lt; _ty, _realTy &gt;</h3>

<p>Classe que define a interface de um objeto do tipo coordenada. Cada indivíduo do algoritmo genético possui um vetor de objetos do tipo coordenada. Como principal atributos da classe coordenada estão: o número de bits para representar a coordenada, a precisão da coordenada, os valores máximos e mínimos da coordenada. Os métodos principais são Code e Decode, que fazem a conversão entre a representação binária e real do valor da coordenada.</p>
<dl><dt><b>Template Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>_ty</em>&nbsp;</td><td></td></tr>
    <tr><td valign="top"></td><td valign="top"><em>_realTy</em>&nbsp;</td><td></td></tr>
  </table>
  </dd>
</dl>
<hr/><h2>Construtores &amp; Destrutores</h2>
<a class="anchor" id="a1c690e9cfa9ce1bff5f1d64eaadd171f"></a><!-- doxytag: member="coordinate::coordinate" ref="a1c690e9cfa9ce1bff5f1d64eaadd171f" args="(const int &amp;indice=def::coord::indice, const int &amp;size=def::coord::size, const int &amp;precision=def::coord::precision, const _realTy &amp;max=def::coord::max, const _realTy &amp;min=def::coord::min)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::<a class="el" href="classcoordinate.html">coordinate</a> </td>
          <td>(</td>
          <td class="paramtype">const int &amp;&nbsp;</td>
          <td class="paramname"> <em>indice</em> = <code>def::coord::indice</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int &amp;&nbsp;</td>
          <td class="paramname"> <em>size</em> = <code>def::coord::size</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int &amp;&nbsp;</td>
          <td class="paramname"> <em>precision</em> = <code>def::coord::precision</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const _realTy &amp;&nbsp;</td>
          <td class="paramname"> <em>max</em> = <code>def::coord::max</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const _realTy &amp;&nbsp;</td>
          <td class="paramname"> <em>min</em> = <code>def::coord::min</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Construtores/Destrutores. </p>
<p>Método construtor para coordenada com ponto de corte constante e definido no arquivo <a class="el" href="definitions_8h.html">definitions.h</a></p>
<p>indice É o índice da coordenada. As coordenadas de funções com mais de um grau de liberdade possuem mais de um índice.  size É o número de bist necessários para representar o valor real da coordenada em binário.  precision É a precisão da representação em casas decimais. Ex: precision = 3, a precisão é de 0.001.  max É o valor máximo da coordenada, em valor real.  min É o valor mínimo da coordenada, em valor real. </p>

</div>
</div>
<a class="anchor" id="a52212c2723e16c95a8bc6acce3d6ef4e"></a><!-- doxytag: member="coordinate::coordinate" ref="a52212c2723e16c95a8bc6acce3d6ef4e" args="(const coordinate&lt; _ty, _realTy &gt; &amp;coo)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::<a class="el" href="classcoordinate.html">coordinate</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>coo</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Construtor de cópia.</p>
<p>É a coordenada a ser copiada. </p>

</div>
</div>
<hr/><h2>Métodos</h2>
<a class="anchor" id="adac8246ca9452ff459e46e2d1b981466"></a><!-- doxytag: member="coordinate::Code" ref="adac8246ca9452ff459e46e2d1b981466" args="(const coordinate&lt; _ty, _realTy &gt; &amp;coo, const _realTy &amp;value)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty , typename _realTy &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">_ty <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::Code </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>coo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const _realTy &amp;&nbsp;</td>
          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método estático que recebe um objeto do tipo coordenada, e um valor na representação real do GA. Com base nos atributos da coordenada passada como parâmetro, como precisão, máximos, e mínimos, o método retorna a representação em binário do valor real passado como parâmetro.</p>
<dl><dt><b>Template Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>_ty</em>&nbsp;</td><td>Tipo de dado da representação em binário da coordenada do GA. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>_realTy</em>&nbsp;</td><td>Tipo de dado da representação real da coordeanda do GA.  coo Objeto do tipo coordenda que contém as informações para realizar a codificação.  value O valor real a ser codificado</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Retorna:</b></dt><dd>O representação binária do GA de value. </dd></dl>

</div>
</div>
<a class="anchor" id="a03f63a984d0b894f2056e3014eb570a3"></a><!-- doxytag: member="coordinate::Decode" ref="a03f63a984d0b894f2056e3014eb570a3" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">_realTy <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::Decode </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método que recebe um objeto do tipo coordenada como parâmetro, e retorna o valor da coordenada nas representação real do ga</p>
<dl><dt><b>Template Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>_ty</em>&nbsp;</td><td>Tipo da representação em binário das coordenadas do GA. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>_realTy</em>&nbsp;</td><td>Tipo da representação real cas coordeandas do GA  coo Referência para a coordenada a ser decodifcada.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Retorna:</b></dt><dd>O valor da representação real da coordenada. </dd></dl>

</div>
</div>
<a class="anchor" id="a18260f8c8efb3e0b9e5cf8181569aa98"></a><!-- doxytag: member="coordinate::Decode" ref="a18260f8c8efb3e0b9e5cf8181569aa98" args="(const coordinate&lt; _ty, _realTy &gt; &amp;coo)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty , typename _realTy &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">_realTy <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::Decode </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>coo</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método estático que recebe um objeto do tipo coordenada como parâmetro, e retorna o valor da coordenada nas representação real do ga.</p>
<dl><dt><b>Template Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>_ty</em>&nbsp;</td><td>Tipo da representação em binário das coordenadas do GA. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>_realTy</em>&nbsp;</td><td>Tipo da representação real cas coordeandas do GA  coo Referência para a coordenada a ser decodifcada.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Retorna:</b></dt><dd>O valor da representação real da coordenada. </dd></dl>

</div>
</div>
<a class="anchor" id="a6ee17f2dd5b36b7bc2fc7b404afb899c"></a><!-- doxytag: member="coordinate::GenerateCoordinate" ref="a6ee17f2dd5b36b7bc2fc7b404afb899c" args="(void)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty , typename _realTy &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::GenerateCoordinate </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método que gera um número aleatório de coordenada dentro dos valores máximos e mínimos da coordenada. O valor é codificado e depois setado no valor da coordenada.</p>
<dl><dt><b>Template Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>_ty</em>&nbsp;</td><td>Tipo de dado da representação em binário da coordenada do GA. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>_realTy</em>&nbsp;</td><td>Tipo de dado da representação real da coordeanda do GA. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a617500d91429987c40541973ae80662a"></a><!-- doxytag: member="coordinate::GetIndice" ref="a617500d91429987c40541973ae80662a" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const int&amp; <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::GetIndice </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Métod de interface (get).</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>O índice da coordeanada. </dd></dl>

</div>
</div>
<a class="anchor" id="aef173b7a32cc1cdb83c35f71a15f2f59"></a><!-- doxytag: member="coordinate::GetInterval" ref="aef173b7a32cc1cdb83c35f71a15f2f59" args="(void)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">_realTy <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::GetInterval </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método que calcula o tamanho do intervalo da coordenada.</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>O tamanho do intervalo da coordenada. </dd></dl>

</div>
</div>
<a class="anchor" id="af879abf859d6f890045dc6ad558ada96"></a><!-- doxytag: member="coordinate::GetMax" ref="af879abf859d6f890045dc6ad558ada96" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const _realTy&amp; <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::GetMax </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (get).</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>O valor mínimo, em valor real, da coordenada. </dd></dl>

</div>
</div>
<a class="anchor" id="a06ceabdaa759122e5ea2436a68da951b"></a><!-- doxytag: member="coordinate::GetMaxCoded" ref="a06ceabdaa759122e5ea2436a68da951b" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const _ty&amp; <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::GetMaxCoded </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (get).</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>O valor máximo, em binário, da coordenada. </dd></dl>

</div>
</div>
<a class="anchor" id="ad3a0bad89d7914ec157f773f445edeeb"></a><!-- doxytag: member="coordinate::GetMin" ref="ad3a0bad89d7914ec157f773f445edeeb" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const _realTy&amp; <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::GetMin </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (get).</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>O valor mínimao, em valor real, da coordenada. </dd></dl>

</div>
</div>
<a class="anchor" id="ae5cae8ad8f7c0cd26d4ac1e565c2b72b"></a><!-- doxytag: member="coordinate::GetMinCoded" ref="ae5cae8ad8f7c0cd26d4ac1e565c2b72b" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const _ty&amp; <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::GetMinCoded </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (get).</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>O valor mínimo, em binário, da coordenada. </dd></dl>

</div>
</div>
<a class="anchor" id="a08bd46e2f1731b7042718f9c395b768d"></a><!-- doxytag: member="coordinate::GetPC" ref="a08bd46e2f1731b7042718f9c395b768d" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const int&amp; <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::GetPC </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (get).</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>O valor do ponto de corte. </dd></dl>

</div>
</div>
<a class="anchor" id="a92cf59fbfd315c208a5533b68ce3a3d0"></a><!-- doxytag: member="coordinate::GetPrecision" ref="a92cf59fbfd315c208a5533b68ce3a3d0" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const int&amp; <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::GetPrecision </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (get).</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>A precisão da coordenada </dd></dl>

</div>
</div>
<a class="anchor" id="a0e3450e6a6a1b4d577886fb68883d61c"></a><!-- doxytag: member="coordinate::GetSize" ref="a0e3450e6a6a1b4d577886fb68883d61c" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const int&amp; <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::GetSize </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (get).</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>O número de bits necessários para representar o valor real da coordenada em binário. </dd></dl>

</div>
</div>
<a class="anchor" id="a46e04592c97e4d4f10aad3cbe90a7a6a"></a><!-- doxytag: member="coordinate::GetValue" ref="a46e04592c97e4d4f10aad3cbe90a7a6a" args="(void)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">_ty&amp; <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::GetValue </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (get).</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>Referência para o valor, na representação em binário, da variável. </dd></dl>

</div>
</div>
<a class="anchor" id="a67e7c384fd0641455b6629a7d6a9a344"></a><!-- doxytag: member="coordinate::GetValue" ref="a67e7c384fd0641455b6629a7d6a9a344" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const _ty&amp; <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::GetValue </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (get)</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>Referência constante para o valor, na representação em binário, da variável. </dd></dl>

</div>
</div>
<a class="anchor" id="aa77bd1b22e652f61ced9ff8ef76fcbd9"></a><!-- doxytag: member="coordinate::IsConsistent" ref="aa77bd1b22e652f61ced9ff8ef76fcbd9" args="(void)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::IsConsistent </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método que verifica se os valores mínimos e máximos da coordenadas são consistentes, ou seja, se o valor mínimo é menor que o valor máximo.</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>True caso o vamor mínimo da coordenada seja menor que o valor máximo, False caso contrário. </dd></dl>

</div>
</div>
<a class="anchor" id="a5c05c89e4d5f69ea15ae724e2494bc6c"></a><!-- doxytag: member="coordinate::IsOutOfBound" ref="a5c05c89e4d5f69ea15ae724e2494bc6c" args="(const _realTy &amp;value) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::IsOutOfBound </td>
          <td>(</td>
          <td class="paramtype">const _realTy &amp;&nbsp;</td>
          <td class="paramname"> <em>value</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Retorna se um valor passado como parâmetro se encontra fora do intervalo da coordenada.</p>
<p>value O Valor real a ser conferido se se encontra dentro dos limites mínimos e máximos da coordenada.</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>true caso o valor se encontra fora do intervalo, e false caso se encontre dentro do intervalo. </dd></dl>

</div>
</div>
<a class="anchor" id="aa39b86f0c5c09bf06fd5b2b8655d4dc2"></a><!-- doxytag: member="coordinate::IsOutOfBound" ref="aa39b86f0c5c09bf06fd5b2b8655d4dc2" args="(const _ty &amp;value) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::IsOutOfBound </td>
          <td>(</td>
          <td class="paramtype">const _ty &amp;&nbsp;</td>
          <td class="paramname"> <em>value</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método que checa se um valor, em binário, se encontra dentro do itervalo da coordenada.</p>
<p>value O valor a ser checado.</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>True caso value esteja dentro do intervalo, e False caso contrário. </dd></dl>

</div>
</div>
<a class="anchor" id="a8254401d37f6be169cafb28ba10635c3"></a><!-- doxytag: member="coordinate::operator!=" ref="a8254401d37f6be169cafb28ba10635c3" args="(const coordinate&lt; _ty, _realTy &gt; &amp;coo) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>coo</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Operador de diferença. Confere se o valor de duas coordenadas são diferentes.</p>
<p>coo Coordenada a ser checada se o valor é diferente.</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>True caso os valores das coordenadas sejam iguais, False caso contrário. </dd></dl>

</div>
</div>
<a class="anchor" id="a052d4f0f28d416b72fe1b8ecccf80858"></a><!-- doxytag: member="coordinate::operator&lt;" ref="a052d4f0f28d416b72fe1b8ecccf80858" args="(const coordinate&lt; _ty, _realTy &gt; &amp;coo) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::operator&lt; </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>coo</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Operador de comparação. Confere se o valor de uma coordenada é menor que o valor da outra.</p>
<p>coo Coordenada a ser checada se o valor é menor.</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>True caso o valor da coordenada seja menor que o da coordenada de coo, False caso contrário. </dd></dl>

</div>
</div>
<a class="anchor" id="a5c4a0543683ec8a6cbe751a075bd5187"></a><!-- doxytag: member="coordinate::operator&lt;=" ref="a5c4a0543683ec8a6cbe751a075bd5187" args="(const coordinate&lt; _ty, _realTy &gt; &amp;coo) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::operator&lt;= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>coo</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Operador de comparação. Confere se o valor de uma coordenada é menor ou igual ao valor da outra.</p>
<p>coo Coordenada a ser checada se o valor é menor ou igual.</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>True caso o valor da coordenada seja menor ou igual ao da coordenada de coo, False caso contrário. </dd></dl>

</div>
</div>
<a class="anchor" id="aeb156220bc0921767319774d77d0eb72"></a><!-- doxytag: member="coordinate::operator=" ref="aeb156220bc0921767319774d77d0eb72" args="(const coordinate&lt; _ty, _realTy &gt; &amp;coo)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty , typename _realTy &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt; &amp; <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>coo</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Operador de atribuição. Ao ser utlizado, os atributos da coordenada à esquerda do operador tem seus valores alterados, e se tornam idênticos aos atributos da coordenada à direita do operador.</p>
<dl><dt><b>Template Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>_ty</em>&nbsp;</td><td></td></tr>
    <tr><td valign="top"></td><td valign="top"><em>_realTy</em>&nbsp;</td><td>coo A coordenada à direia do operador de atribuição, com os atributos a serem copiados.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Retorna:</b></dt><dd>A coordenada à esquerda do operador de atribuição, com os atributos a serem alterados. </dd></dl>

</div>
</div>
<a class="anchor" id="a063671d1577abcf23a36af1c996ac26a"></a><!-- doxytag: member="coordinate::operator==" ref="a063671d1577abcf23a36af1c996ac26a" args="(const coordinate&lt; _ty, _realTy &gt; &amp;coo) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>coo</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Operador de igualdade. Confere se o valor de duas coordenadas são iguais.</p>
<p>coo Coordenada a ser checada se o valor é igual.</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>True caso os valores das coordenadas sejam iguais, False caso contrário. </dd></dl>

</div>
</div>
<a class="anchor" id="a9c19583af7069c444bef4a712ed7fc0c"></a><!-- doxytag: member="coordinate::operator&gt;" ref="a9c19583af7069c444bef4a712ed7fc0c" args="(const coordinate&lt; _ty, _realTy &gt; &amp;coo) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::operator&gt; </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>coo</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Operador de comparação. Confere se o valor de uma coordenada é maior que o valor da outra.</p>
<p>coo Coordenada a ser checada se o valor é maior.</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>True caso o valor da coordenada seja maior que o da coordenada de coo, False caso contrário. </dd></dl>

</div>
</div>
<a class="anchor" id="a2b75371880389112fd471f596429fd23"></a><!-- doxytag: member="coordinate::operator&gt;=" ref="a2b75371880389112fd471f596429fd23" args="(const coordinate&lt; _ty, _realTy &gt; &amp;coo) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::operator&gt;= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>coo</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Operador de comparação. Confere se o valor de uma coordenada é maior ou igual ao valor da outra.</p>
<p>coo Coordenada a ser checada se o valor é maior ou igual.</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>True caso o valor da coordenada seja maior ou igual ao da coordenada de coo, False caso contrário. </dd></dl>

</div>
</div>
<a class="anchor" id="a74e0f7eaf59e785c37b2d6f92e6f89a9"></a><!-- doxytag: member="coordinate::SetMax" ref="a74e0f7eaf59e785c37b2d6f92e6f89a9" args="(const _realTy &amp;new_max)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::SetMax </td>
          <td>(</td>
          <td class="paramtype">const _realTy &amp;&nbsp;</td>
          <td class="paramname"> <em>new_max</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (set).</p>
<p>new_max É o valor máximo, em valor real, da coordenada. </p>

</div>
</div>
<a class="anchor" id="a8f1612243c59f409ca70878ea572188a"></a><!-- doxytag: member="coordinate::SetMaxCoded" ref="a8f1612243c59f409ca70878ea572188a" args="(const _ty &amp;new_maxCoded)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::SetMaxCoded </td>
          <td>(</td>
          <td class="paramtype">const _ty &amp;&nbsp;</td>
          <td class="paramname"> <em>new_maxCoded</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (set).</p>
<p>new_maxCoded É o valor máximo, em binário, da coordenada. </p>

</div>
</div>
<a class="anchor" id="a74810fee94eae241e36552db0041b023"></a><!-- doxytag: member="coordinate::SetMin" ref="a74810fee94eae241e36552db0041b023" args="(const _realTy &amp;new_min)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::SetMin </td>
          <td>(</td>
          <td class="paramtype">const _realTy &amp;&nbsp;</td>
          <td class="paramname"> <em>new_min</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (set).</p>
<p>new_min É o valor mínimo, em valor real, da coordenada. </p>

</div>
</div>
<a class="anchor" id="a7a8c16521bfde82906c7a9013f7ef909"></a><!-- doxytag: member="coordinate::SetMinCoded" ref="a7a8c16521bfde82906c7a9013f7ef909" args="(const _ty &amp;new_minCoded)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::SetMinCoded </td>
          <td>(</td>
          <td class="paramtype">const _ty &amp;&nbsp;</td>
          <td class="paramname"> <em>new_minCoded</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (set).</p>
<p>new_minCoded É o valor mínimo, em binário, da coordenada. </p>

</div>
</div>
<a class="anchor" id="a46b633da2fed8687b33814122ad2ce1d"></a><!-- doxytag: member="coordinate::SetPrecision" ref="a46b633da2fed8687b33814122ad2ce1d" args="(const int &amp;new_precision)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::SetPrecision </td>
          <td>(</td>
          <td class="paramtype">const int &amp;&nbsp;</td>
          <td class="paramname"> <em>new_precision</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (set).</p>
<p>new_precision É o novo valor da precisão da coordenada. </p>

</div>
</div>
<a class="anchor" id="a8dca6b1375bc84a05f66d8694681acbe"></a><!-- doxytag: member="coordinate::SetSize" ref="a8dca6b1375bc84a05f66d8694681acbe" args="(const int &amp;new_size)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::SetSize </td>
          <td>(</td>
          <td class="paramtype">const int &amp;&nbsp;</td>
          <td class="paramname"> <em>new_size</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (set)</p>
<p>new_size É o novo valor do número de bits necessárioos para representar o valor real da coordenada em binário. </p>

</div>
</div>
<a class="anchor" id="a84cb188432f5139c669b8fd3fc0037f5"></a><!-- doxytag: member="coordinate::SetValue" ref="a84cb188432f5139c669b8fd3fc0037f5" args="(const _realTy &amp;new_value)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::SetValue </td>
          <td>(</td>
          <td class="paramtype">const _realTy &amp;&nbsp;</td>
          <td class="paramname"> <em>new_value</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (set). Antes de ser setado, é checado se o valor se encontra dentro do intervalo definido pelos valores máximo e mínimo da variável. Após o novo valor ter sido validado ele é codificado para binário e o novo valor é setado.</p>
<p>new_value É o novo valor, em real do valor da coordenada. </p>

</div>
</div>
<a class="anchor" id="ae66e44d1146ca8020809efe799a5a59c"></a><!-- doxytag: member="coordinate::SetValue" ref="ae66e44d1146ca8020809efe799a5a59c" args="(const _ty &amp;new_value)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::SetValue </td>
          <td>(</td>
          <td class="paramtype">const _ty &amp;&nbsp;</td>
          <td class="paramname"> <em>new_value</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (set). Antes de ser setado, é checado se o valor se encontra dentro do intervalo definido pelos valores máximo e mínimo da variável.</p>
<p>new_value É o novo valor, em binário do valor da coordenada. </p>

</div>
</div>
<a class="anchor" id="a552fb17fcf9a6d74c972020d21e99709"></a><!-- doxytag: member="coordinate::SetValueMaxValue" ref="a552fb17fcf9a6d74c972020d21e99709" args="(void)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::SetValueMaxValue </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Seta o valor da coordenada como o valor máximo definido para a mesma. </p>

</div>
</div>
<a class="anchor" id="a33a2b235424b34d89e42422c05adc276"></a><!-- doxytag: member="coordinate::SetValueMinValue" ref="a33a2b235424b34d89e42422c05adc276" args="(void)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::SetValueMinValue </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Seta o valor da coordenada como o valor mínimo definido para a mesma. </p>

</div>
</div>
<a class="anchor" id="ae7277b9648c716a4ff6f16c15c26433d"></a><!-- doxytag: member="coordinate::ToString" ref="ae7277b9648c716a4ff6f16c15c26433d" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty , typename _realTy &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">std::string <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;::ToString </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Retorna uma string com a representação em binário do valor da coordenada.</p>
<dl><dt><b>Template Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>_ty</em>&nbsp;</td><td>Tipo de dado da representação em binário da coordenada do GA. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>_realTy</em>&nbsp;</td><td>Tipo de dado da representação real da coordeanda do GA.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Retorna:</b></dt><dd>Uma string representado o valor binário do valor da coordenada. </dd></dl>

</div>
</div>
<hr/><h2>Amigas e Funções Relacionadas</h2>
<a class="anchor" id="ac6da0a94290e6364c27e4dff1a52f5e5"></a><!-- doxytag: member="coordinate::operator&lt;&lt;" ref="ac6da0a94290e6364c27e4dff1a52f5e5" args="(std::ostream &amp;os, const coordinate&lt; T, U &gt; &amp;coo)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
<div class="memtemplate">
template&lt;typename T , typename U &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">std::ostream&amp; operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&nbsp;</td>
          <td class="paramname"> <em>os</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classcoordinate.html">coordinate</a>&lt; T, U &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>coo</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Operador de fluxo de entrada. Recebe os atributos do objeto coordenada da stream, e os seta no objeto do tipo coordenada passado como parâmetro</p>
<dl><dt><b>Template Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>T</em>&nbsp;</td><td></td></tr>
    <tr><td valign="top"></td><td valign="top"><em>U</em>&nbsp;</td><td>os O objeto stream que carrega os atributos.  coo O objeto coordenada que recebe os atributos da stream</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Retorna:</b></dt><dd>O mesmo objeto stream passado como parâmetro, para possibilitar o encadeamento do operador </dd></dl>

</div>
</div>
<a class="anchor" id="aacb2e8f6ef327786248a961828b53fa5"></a><!-- doxytag: member="coordinate::operator&gt;&gt;" ref="aacb2e8f6ef327786248a961828b53fa5" args="(std::istream &amp;is, coordinate&lt; T, U &gt; &amp;coo)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
<div class="memtemplate">
template&lt;typename T , typename U &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">std::istream&amp; operator&gt;&gt; </td>
          <td>(</td>
          <td class="paramtype">std::istream &amp;&nbsp;</td>
          <td class="paramname"> <em>is</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classcoordinate.html">coordinate</a>&lt; T, U &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>coo</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Operador de fluxo de saída. Imprime na stream os atributos do objeto coordenada.</p>
<dl><dt><b>Template Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>T</em>&nbsp;</td><td></td></tr>
    <tr><td valign="top"></td><td valign="top"><em>U</em>&nbsp;</td><td>is A stream que recebe os atributos  coo A coordenada que possui os atributos que serão passados para a stream</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Retorna:</b></dt><dd>A mesma stream passada como parâmetro, para permitir o uso encadeado do operador </dd></dl>

</div>
</div>
<hr/>A documentação para esta classe foi gerada a partir do seguinte arquivo:<ul>
<li><a class="el" href="coordinate_8h_source.html">coordinate.h</a></li>
</ul>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>Todos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Arquivos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Funções</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Variáveis</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Definições de Tipos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Amigas</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address style="text-align: right;"><small>Gerado em Sat Oct 30 13:47:50 2010 por&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
